import { createApp } from 'vue'
import App from './App.vue'
import Vant from 'vant'
import 'vant/lib/index.css';
import  router from '@/router/index.ts'
import { createPinia } from "pinia";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import '@nutui/icons-vue/dist/style_iconfont.css'
import { IconFont } from '@nutui/icons-vue'
import '../global.css'
const app = createApp(App);
const pinia = createPinia();

pinia.use(piniaPluginPersistedstate)
app.use(router)
app.use(IconFont)
app.use(Vant);
app.use(pinia)
app.mount('#app')
